import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/admin/user/auth/blacklist`,
    method: 'get',
    params: query
  });
}

export function postBlack(form) {
  return request({
    url: `/admin/user/auth/blacklist`,
    method: 'post',
    data:form
  });
}

export function deleteData(id) {
  return request({
    url: `/admin/user/auth/blacklist/${id}`,
    method: 'delete',
  });
}